<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>home</title>
</head>
<body>
    <h2>主页</h2>
    {#调用get_flashed_messages()函数，获取消息类别为info的消息#}
    {% for message in get_flashed_messages(category_filter = ('info')) %}
        <span>{{ message }}</span>
    {% endfor %}
    <p>欢迎用户：{{ username }}</p>
</body>
</html>
